package designPattern.adapter;

/**
 * Created by cdxuhongya on 2017/1/6.
 */
public class Adapter implements Target{

    private Adaptee adaptee;

    public Adapter(Adaptee adaptee){
        this.adaptee = adaptee;
    }

    public void adapterMethod() {
        System.out.println("adapterMethod");
    }

    public void adapteeMethod() {
        adaptee.adapteeMethod();
    }
}
